// vue add unit-test
module.exports = {
  testEnvironment: 'jsdom',
  preset: '@vue/cli-plugin-unit-jest/presets/typescript-and-babel',
  transformIgnorePatterns: ['/node_modules/(?!lodash-es|axios)'],
  moduleNameMapper: {
    '^axios$': require.resolve('axios'), // 确保正确解析 axios 模块
  },
}
